<div class="users form form_login">
	<?php 
		echo $this->Session->flash(); 
		if ($session->check('Message.auth')):
			echo $session->flash('auth');
		endif;
		echo $this->Session->flash();
	?>
	<div class="form_login_img">
		<img src="<?php echo $this->webroot;?>/img/Login-Icon4.png"/>
		<p class="gohome"><a href="<?php echo $this->webroot;?>">Trang chủ</a></p>
	</div>
	<div class="form_login_content">
		<?php echo $this->Form->create('User');?>
		
			<fieldset>
				<legend><?php __('Đăng nhập hệ thống'); ?></legend>
			<?php
				echo $this->Form->input('username',array('label'=>'Tên đăng nhập'));
				echo $this->Form->input('password',array('label'=>'Mật khẩu'));
				echo '<div class="input"><label for="remember_me">';
				echo $form->checkbox('remember_me',array('div'=>'true','label'=>'Nhớ mật khẩu','id='=>'rememberme'));
				echo 'Nhớ mật khẩu</label>';
				
			?>
			</fieldset>
		<?php 
			 $options = array(
				 'label' => 'Đăng nhập',
				 'name' => 'login_form',
				// 'div' => array(
				// 'class' => 'class_login_form',
				//)
			);
			echo $this->Form->end($options);
		//echo $this->Form->end(__('Đăng nhập', true));?>
		<div class="re_pass">
			<a class="from_login_register" href="<?php echo $this->webroot;?>/users/new_user">Đăng ký mới</a>&nbsp;|&nbsp;
			<a class="from_login_register" href="<?php echo $this->webroot;?>/users/re_pass">Quên mật khẩu</a>
		</div>
	</div>
	<div class="clear"></div>
</div>